package com.cgwx.mapper;

import com.cgwx.entity.Shared;
import java.util.List;

public interface SharedMapper {
    List<Shared> getAllShared();

    List<Shared> getShared(Shared shared);

    List<Shared> getMyShared(Shared shared);

    List<Shared> getSharedMe(Shared shared);

    boolean updateSharedById(Shared shared);

    boolean updateSharedName(Shared shared);

    boolean updateSharedDeleted(Shared shared);

    boolean cancelSharedById(String id);

    boolean restoreSharedById(Shared shared);

    List<Shared> getDeptShared(Shared shared);

    boolean insertShared(Shared shared);
}
